<?php
/**
 * Default Archive page Template
 */
 ?>
<?php get_header();?>
<div class="header">
    <div class="header_logo clear">
        <a class="logo" href="<?php echo home_url(); ?>"><img class="no_border" src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="images" /></a>
        <div class="text_header clear">
            <?php
            query_posts(array('posts_per_page'=>1,'orderby'=>'menu_order date','post_type'=>'post','taxonomy'=>'category'));
            if (have_posts()) : while (have_posts()): the_post();    	
                    include(TEMPLATEPATH . '/lib/includes/lfdh_header_text.php');
                    $page_id_num1 = get_the_ID();
                endwhile; 
            else: 
                echo __('');
            endif;
            wp_reset_query();   
          ?>
        </div><!-- end of .text_header-->
    </div><!-- end of .header_logo-->
    <?php include(TEMPLATEPATH . '/lib/includes/lfdh_header_menu.php');?>
</div><!-- end of .header -->

<div class="mainContent">
    <!-- slide_imgContent -->
        <?php if(!function_exists('dynamic_sidebar') || !dynamic_sidebar('lfdh_sliders_widget')) : ?>
        <?php endif; ?>
    <!-- end slide_imgContent-->
    
    <?php
        query_posts(array('posts_per_page'=>1,'orderby'=>'menu_order date','post_type'=>'post','taxonomy'=>'category'));
        if (have_posts()) : while (have_posts()): the_post();    	
                include(TEMPLATEPATH . '/lib/includes/page_content_ref.php');
            endwhile; 
        else: 
            echo __('');
        endif;
        wp_reset_query();
    ?>
</div><!-- end of .mainContent-->
<?php get_footer(); ?>